package com.sixth.service.impl;

import com.sixth.dao.sRoleUserDao;
import com.sixth.service.RoleUserService;
import com.sixth.util.CommonResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: carrent
 * @description:
 * @author: 高振杨
 * @create: 2022-01-13 18:22
 **/
@Service(value = "roleuserService")
public class RoleUserServiceImpl implements RoleUserService {

    @Autowired
    private sRoleUserDao dao;

    @Override
    public CommonResult updaterole(String allrole,Integer userid) {

        System.out.println(allrole+userid);
        return null;
//        int i=dao.uprole(roleid,userid);
//        if (i>0){
//            return new CommonResult(2000,"修改成功",null);
//        }
//        return  new CommonResult(5000,"修改失败",null);

    }
}
